package com.azhuo.core.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.azhuo.core.pojo.User;

public interface UserDao {

	/**
	 * 根据用户名、密码查询
	 */
	public User findUser(@Param("usercode") String usercode,@Param("password")  String password);
	
	public List<User> findAll();

	/**
	 * 添加用户
	 */
	public void insertUser(User user);

}
